import request from '@/utils/request';

export async function getPickingReccieveDetailsByPage (params: any) {
    return request('/api/product/getPickingReccieveDetailsByPage', {
    method: 'POST',
    data: params,
  });
}



export async function addPickingReccieveDetails (params: any) {
    return request('/api/product/addPickingReccieveDetails', {
    method: 'POST',
    data: params,
  });
}

export async function updatePickingReccieveDetails (params: any) {
    return request('/api/product/updatePickingReccieveDetails', {
    method: 'POST',
    data: params,
  });
}

export async function delPickingReccieveDetails (params: any) {
    return request('/api/product/delPickingReccieveDetails', {
    method: 'POST',
    data: params,
  });
}


export async function exportPickingReccieveDetails(params: any) {
    return request('/api/product/exportPickingReccieveDetails', {
    method: 'POST',
    data: params,
    responseType: 'blob',
  });
}
export default { getPickingReccieveDetailsByPage, addPickingReccieveDetails, updatePickingReccieveDetails, delPickingReccieveDetails, exportPickingReccieveDetails }
